<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/8 0008
 * Time: 上午 11:07
 */

namespace backend\assets;


use common\components\GlobalUrlComponent;
use yii\web\AssetBundle;

class TreeViewAsset extends AssetBundle
{
    public $baseUrl = '';

    public $css = [

    ];
    public $js = [
        'plugins/bower_components/bootstrap-treeview-master/dist/bootstrap-treeview.min.js',
        'plugins/bower_components/bootstrap-treeview-master/dist/bootstrap-treeview-init.js'
    ];
    public $depends = [
        AppAsset::class
    ];

    public function __construct(array $config = [])
    {
        $this->baseUrl = GlobalUrlComponent::buildStaticUrl('/');

        parent::__construct($config);
    }
}